package com.shop.cereshop.app.dl.logic.controller;

import com.shop.cereshop.app.service.order.CereShopOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @author: 况鑫威
 * @Date: 2021/6/28
 * @Time: 16:48
 * @ClassName: WeiXinController
 * @Description: com.shop.cereshop.app.dl.logic.controller
 */
@RestController
@CrossOrigin
@RequestMapping("/cereShop")
public class WeiXinController {


    @GetMapping("/wxMainController")
    public String wxMainController(HttpServletRequest request){
        String queryString = request.getQueryString();
//        Map<String, String> callbackMap = WechatUtil.xmlToMap(request); //获取回调信息
        return queryString;
    }
}
